package org.br.erp.base.service;

import org.br.erp.base.entity.Basequeryreportitem;
import org.br.erp.base.entity.Basequeryreport;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 可用库存查询详情主表
 * @Author: jeecg-boot
 * @Date:   2023-06-11
 * @Version: V1.0
 */
public interface IBasequeryreportService extends IService<Basequeryreport> {

	/**
	 * 添加一对多
	 *
	 * @param basequeryreport
	 * @param basequeryreportitemList
	 */
	public void saveMain(Basequeryreport basequeryreport,List<Basequeryreportitem> basequeryreportitemList) ;
	
	/**
	 * 修改一对多
	 *
   * @param basequeryreport
   * @param basequeryreportitemList
	 */
	public void updateMain(Basequeryreport basequeryreport,List<Basequeryreportitem> basequeryreportitemList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);


	public List<Basequeryreport> getBaseQueryReportByCptId(String cptid);

}
